5. For the purposes of section 4, the expression “amounts paid” includes the member’s regular and additional contributions, the other amounts paid for redemption or transfer of past service, and the contributions of the municipality and the amounts the municipality paid for the redemption or transfer of past service.